<template>
  <div>
      <div class="da">

    <div class="my-top">
      <div class="top-left">
        <img src="http://localhost:8080/img/222.png" alt />
      </div>
      <div class="top-right">
        <p class="my-1" @click="go">{{this.$route.query.id||str}}</p>
        <p class="my-2">积分:0</p>
      </div>
    </div>
    <div>
      <van-notice-bar left-icon="volume-o" text="在代码阅读过程中人们说脏话的频率是衡量代码质量的唯一标准。" />
    </div>
    <p class="my-3"></p>
    <div class="dingdan">
      <span class="iconfont icon-ding_huabanfuben"></span>
      <p>我的订单</p>
      <span class="span1">></span>
    </div>
    <Yi></Yi>
    
    <p class="my-3"></p>
   <Er></Er>
    <div class="zui">
        The work of zhu yan min 
    </div>
      </div>

  </div>
</template>

<script>
import Yi from '../components/Yi'
import Er from '../components/Er'
export default {
  data() {
    return {
      
      str:'立即登录'
    }
  },
    components:{
Er,Yi
    },
    methods: {
        go(){
            this.$router.push({
                path:'/deng'
            })
        }
    },
    component:{

    }
};
</script>

<style scoped>
.my-top {
  width: 100%;
  height: 3.15rem;
  background: #c1b18f;
  display: flex;
}
/* .my-top div{
        border:1px solid red
    } */
.top-left {
  flex: 1;
}
.top-right {
  flex: 2;
}
.top-left img {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  margin-left: 0.3rem;
  margin-top: 0.7rem;
}
.top-right .my-1 {
  font-size: 0.5rem !important;
  color: white;
  margin-top: 0.7rem;
}
.top-right .my-2 {
  width: 2.24rem;
  padding-top: 0.1rem;
  padding-right: 0.1rem;
  padding-bottom: 0.1rem;
  padding-left: 0.1rem;
  margin-top: 0.4rem;
  background: #b3a078;
  color: white;
  border-radius: 0.0694444rem;
}
.dingdan {
  width: 100%;
  height: 0.9rem;
  /* border:1px solid red; */
  display: flex;
  align-items: center;
  border-bottom: 1px solid #eee;
}
.iconfont {
  margin-left: 0.1rem;
  font-size: 30px !important;
  /* color: pink; */
}
.dingdan p {
  padding-left: 0.2rem;
  font-size: 0.23rem;
}
.span1 {
  font-size: 0.4rem;
  padding-left: 5.2rem;
}
.my-3 {
  width: 100%;
  height: 0.2rem;
  background: #f5f5f5;
}

.zui{
    width: 100%;
    background: #eee;
    text-align: center;
    height: 0.5rem;
    line-height: 0.5rem;
}
.da{
    width: 100%;
    height: 15.5rem;
    overflow: scroll;
}
</style>